const express = require('express')
const app = express()
app.get('/', (req, res, next) => {
  res.end('hello world')
})
app.post('/', (req, res, next) => {
  res.end('hello wwe')
})
app.post('/login', (req, res, next) => {
  res.end('hello login welcome')
})
app.listen(8001, () => {
  console.log('server express初体验')
})